package Lesson17.Cars;

public class SportCar extends Car
{
	SportCar()
	{
		super(320);
	}
	protected boolean isCabriolet;
	private double price;
	
	protected void switchTurbo()
	{
		System.out.println("Turbo on!");
	}
	@Override
	protected void accelerate(double speed)
	{
		super.accelerate(320);
		if(currentSpeed >= 150)
		{
			switchTurbo();
		}
	}
	@Override
	protected void startEngine() 
	{
		super.startEngine();
	}
	@Override
	public String toString() {
		return "Karash sportna kola";
	}
}
